/*
 * @Author: ayun chengyunwu@jiatui.com
 * @Date: 2023-05-08 11:30:02
 * @LastEditors: ayun chengyunwu@jiatui.com
 * @LastEditTime: 2023-07-10 10:39:44
 * @FilePath: /ift-economy-h5/src/main.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import ReactDOM from "react-dom/client";

// 初始化
import "rest-css";
// UI框架

// 全局样式
import "@/assets/styles/global.scss";

import App from "./App";

// 路由
import { HashRouter } from "react-router-dom";

// 状态管理
import { Provider } from "react-redux";
import store from "@/reducer/store";

ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
  // <React.StrictMode>
  <Provider store={store}>
    <HashRouter>
      <App />
    </HashRouter>
  </Provider>
  // </React.StrictMode>
);
